package com.wander.designBehavioral.strategy;

import org.junit.jupiter.api.Test;

/**
 * @Author : WDYin
 * @Date : 2020/10/11
 * @Desc :
 */
public class Client {

    @Test
    public void test() {
        Context context1 = new Context(new PayStrategy1());
        context1.executeStrategy();

        Context context2 = new Context(new PayStrategy2());
        context2.executeStrategy();
    }
}
